package com.zisu.aradvertising.repository;

import com.zisu.aradvertising.pojo.Cooperation;
import com.zisu.aradvertising.pojo.business.Cooperation1;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DaoCooperation1 extends JpaRepository<Cooperation1,Integer> {
    Cooperation1 findByCoid(int coid);
    List<Cooperation1> findAllByPid(int pid);
    List<Cooperation1> findAllByApid(int apid);

}
